package airacrobats.io.data;

import javax.vecmath.Point3f;

/**
 * The flaps data.
 */
public class FlapsData
{
    /**
     * Model name.
     */
    private String modelName;
    /**
     * Translation of the model.
     */
    private Point3f translation;
    /**
     * How the airplane roll will rotate the flap.
     */
    private int rollFactor;
    /**
     * How the airplane pitch will rotate the flap.
     */
    private int pitchFactor;

    /**
     * @param modelName The model name.
     * @param translation The translation.
     * @param rollFactor The roll factor.
     * @param pitchFactor THe pitch factor.
     */
    public FlapsData(String modelName, Point3f translation, int rollFactor, int pitchFactor)
    {
        this.modelName = modelName;
        this.translation = translation;
        this.rollFactor = rollFactor;
        this.pitchFactor = pitchFactor;
    }

    /**
     * @return The model name.
     */
    public String getModelName()
    {
        return modelName;
    }

    /**
     * @return The translation.
     */
    public Point3f getTranslation()
    {
        return translation;
    }

    /**
     * @return The pitch factor.
     */
    public int getPitchFactor()
    {
        return pitchFactor;
    }

    /**
     * @return The roll factor.
     */
    public int getRollFactor()
    {
        return rollFactor;
    }
}
